package com.lanxiao.cloud.modules.user.application.dto;

import com.lanxiao.cloud.common.core.enums.SexEnum;
import com.lanxiao.cloud.common.core.enums.StateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ：qiaoliang
 * @date ：2021-09-14
 */
@ApiModel("修改用户信息请求模型")
public class UserCmdUpdate {
  @ApiModelProperty("昵称")
  private String name;
  @ApiModelProperty("性别")
  private SexEnum sex;
  @ApiModelProperty("签名")
  private String autograph;
  @ApiModelProperty("状态")
  private StateEnum state;

  private UserCmdUpdate() {
  }

  public UserCmdUpdate(String name,SexEnum sex,
      String autograph, StateEnum state) {
    this.name = name;
    this.sex = sex;
    this.autograph = autograph;
    this.state = state;
  }

  public String getName() {
    return name;
  }

  public SexEnum getSex() {
    return sex;
  }

  public String getAutograph() {
    return autograph;
  }

  public StateEnum getState() {
    return state;
  }
}
